// Have include guard.
#ifndef FPK_TANKVALUE_HPP
#define FPK_TANKVALUE_HPP

/**
 *  The TankValue struct stores a left value and a right value to be sent to a TankDriveSubsystem.
 */
struct TankValue
{
	public:
		inline TankValue(double leftValue, double rightValue) :
			m_valueLeft(leftValue),
			m_valueRight(rightValue)
		{
		}
		
		inline TankValue operator *(double right) const
		{
			return TankValue(GetLeftValue() * right, GetRightValue() * right);
		}
		
		inline double GetLeftValue() const
		{
			return m_valueLeft;
		}
		
		inline double GetRightValue() const
		{
			return m_valueRight;
		}
	private:
		double m_valueLeft;
		double m_valueRight;
};

#endif // #ifndef FPK_TANKVALUE_HPP
